package com.itheima.oop.Test02;

public class Student {
    private String id;
    private String name;
    private String gender;
    private double hight;
    private int age;
    public Student(){}

    public Student(String id, String name, String gender, double hight, int age) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.hight = hight;
        this.age = age;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public double getHight() {
        return hight;
    }

    public void setHight(double hight) {
        this.hight = hight;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void show(){
        System.out.println("学员编号:" + id);
        System.out.println("姓名:" + name);
        System.out.println("性别:" + gender);
        System.out.println("身高:" + hight);
        System.out.println("年龄:" + age);
    }
}
